package com.edou.reservation.service.impl;

import com.edou.reservation.dao.IReservationInfoDao;
import com.edou.reservation.entity.ReservationInfo;
import com.edou.reservation.service.IReservationInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * 预约信息
 * @author shimingxiang
 * @date 2018/11/02 01:50:00
 */
@Service("reservationInfoServiceImpl")
@Transactional(value = "transactionManager")
public class ReservationInfoServiceImpl implements IReservationInfoService{

	@Resource(name = "reservationInfoDaoImpl")
	private IReservationInfoDao reservationInfoDao;


	/**
	 * 新增
	 * @param item 会员收藏
	 */
	public void add(ReservationInfo item){
		reservationInfoDao.add(item);
	}

}